#ifndef ASL_LIB_CURL_H
#define ASL_LIB_CURL_H

#include <curl/curl.h>

#define LIB_CURL_TIME_OUT 5
#define LIB_CURL_AGENT "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"

typedef struct lib_curl_mem_s lib_curl_mem_t;

struct lib_curl_mem_s {
    char *memory;
    size_t size;
};

int lib_curl_get(const char *, lib_curl_mem_t *);

#endif
